// unordered_map::bucket_size
#include <bits/stdc++.h>
using namespace std;
int main ()
{
    unordered_map<std::string,std::string> mymap = {
      {"us","United States"},
      {"uk","United Kingdom"},
      {"fr","France"},
      {"de","Germany"}
  };

  unsigned nbuckets = mymap.bucket_count();
  cout << "mymap has " << nbuckets << " buckets:\n";
  for (unsigned i=0; i<nbuckets; ++i) {
    cout << "bucket #" << i << " has " << mymap.bucket_size(i) << " elements.\n";
  }

  return 0;
}
